package com.mhkj.revise.monthPlan.service;

import java.util.List;

import com.mhkj.revise.monthPlan.entity.Follow;
import com.mics.core.common.componet.Pagination;
import com.mics.core.system.base.service.BaseService;

import javax.servlet.http.HttpServletResponse;

public interface PlanMonthAddService extends BaseService<Follow> {

	/**
	 * 根据员工id查询计划节点
	 * @author mics
	 * @date 2018年9月2日
	 * @version 1.0
	 */
	List<Follow> getByEmployeeId(String employeeId);

	/**
	 * 根据用户和计划节点id
	 * @author mics
	 * @date 2018年9月2日
	 * @version 1.0
	 */
	Follow getByUserAndPlanId(String userId, long planNodeId);

	Pagination<Follow> listByPageinfo(Follow follow,String nodeName,String yearMonth,String startDate,String endDate, String state, int pageIndex, int pageSize);

    List<Follow> getplanNodeId(long planNodeId,String employeeId);
}
